<?php
if ( !defined('IN_ADMINCP') || !defined('IN_SEC') ){
	exit('Access Denied.');
}

$setting = conf('system');

if ( is_post() ){
	$mixed = 'sitename,sitetitle,currency,currencyname';
	if ( saveconfig('system', $mixed, $allow, $_POST['system']) ){
		Session::Set('notice', '操作成功');
	}else{
		Session::Set('error', '操作失败');
	}
	$admincp->redirect('setting');
}


?>